package com.clms.rents;

import com.clms.rents.config.RsaKeyProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @program: clms-third
 * @description: 主启动类
 * @author: 杨浩
 * @create: 2021-07-21 15:20
 **/

@SpringBootApplication
@MapperScan(basePackages = {"com.clms.rents.mapper"})
@EnableAspectJAutoProxy
@EnableConfigurationProperties(value ={RsaKeyProperties.class} )
public class RentsApp {
    public static void main(String[] args) {
        SpringApplication.run(RentsApp.class,args);
    }
}
